Release 10.1A: OpenEdge Development:
Java Open Clients
Data type mapping for temp-table fields
The Java default data type mapping for the individual fields of a temp-table is different than for non-temp-table parameters, to conform to the JDBC standard. Table C–1 shows the mappings.
Note: The column order for
ResultSetobjects going between a Java Open Client and the AppServer always is the default field order (physical position of the fields in the table). Normally, temp-tables have the same default field order (_order) and user-defined field order (_field-rpos). However, if the temp-table is defined using theLIKEoption for a database table, and the database table has set the user-defined field order to be different than the default field order, the Java client sees the fields in the default field order, not the user-defined field order. To avoid this, define the temp-table with the individual fieldsLIKEthe database table fields, instead of defining the whole temp-tableLIKEthe database table.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |